﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="OverridedDBExchange.cs" company="">
//   
// </copyright>
// <summary>
//   The overrided db exchange.
// </summary>
// --------------------------------------------------------------------------------------------------------------------


using System;
using System.Collections.Generic;
using System.ComponentModel;
using Systemathics.FrameWork;

namespace Systemathics.UserControls
{
    internal sealed class OverridedDBExchange
    {
        public OverridedDBExchange()
        {
            var ts = new TimeSpan(Time.Now.Hour, Time.Now.Minute, Time.Now.Second);
            OpenAuctions = ts;
            Openning = ts;
            CloseAuctions = ts;
            Closing = ts;
        }

        [Browsable(false)]
        public Guid? ID { get; set; }

        public IEnumerable<string> InstrumentsCollection { get; set; }
        public string Exchange { get; set; }
        public string Name { get; set; }
        public string Country { get; set; }
        public TimeSpan OpenAuctions { get; set; }
        public TimeSpan Openning { get; set; }
        public TimeSpan CloseAuctions { get; set; }
        public TimeSpan Closing { get; set; }
    }
}